package com.beadhouse.usermanage.ao;

import java.util.Date;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

@Data
public class UserAo {
	@NotBlank(message="用户名不能为空")
	private String username;
	@NotBlank(message="性别不能为空")
	private String sex;
	@NotBlank
	@Digits(integer=2,fraction=0,message="年龄不对")
	private String age;
	@NotBlank(message="角色Id不能为空")
	private String roleId;
	private String remarks;
	@NotBlank(message="状态不能为空")
	private String status;
	@NotBlank(message="账号不能为空")
	private String account;
}
